var Help = function(){
    this.init = function(url){
        url = url || app.currentUrl;
        if(this[url[0]])this[url[0]]();
        else this.showData(url[1]);
    }
    this.showData = function(id){
        mlhAPI.article.get(
        {
            id: id,
            callback: function(data){
                app.main.unmask();
                if(data['result'] == 'success'){
                    /*console.log(data.data.element);
                    var container = app.static.getContainer();
    				$.tmpl('help_modal', data.data.element).appendTo(container.html(''));
                    container.modal('show');*/
                    app.static.info(data.data.element);
                }
            }
        })
    }
}
app['help'] = new Help();
